<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <link rel="stylesheet" href="../../../swiper/swiper6/swiper-bundle.min.css">
    <style>
        *{
            padding: 0;
            margin: 0;
        }
        #swiper-container-one {
           height: 376px;
        }
        .swiper-slide img{
            width: 100%;
        }
    </style>
</head>
<body>
    <div class="swiper-container" id="swiper-container-one">
        <div class="swiper-wrapper">
            <div class="swiper-slide"><img src="https://www.risesun.cn/Uploads/image/610d11469a6fa.jpg" alt=""></div>
            <div class="swiper-slide"><img src="https://www.risesun.cn/Uploads/image/60a76c50bc07b.jpg" alt=""></div>
            <div class="swiper-slide"><img src="https://www.risesun.cn/Uploads/image/601e092541c0d.jpg" alt=""></div>
            <div class="swiper-slide"><img src="https://www.risesun.cn/Uploads/image/601e092541c0d.jpg" alt=""></div>
            <div class="swiper-slide"><img src="https://www.risesun.cn/Uploads/image/601e092541c0d.jpg" alt=""></div>
            <div class="swiper-slide"><img src="https://www.risesun.cn/Uploads/image/601e092541c0d.jpg" alt=""></div>
            <div class="swiper-slide"><img src="https://www.risesun.cn/Uploads/image/601e092541c0d.jpg" alt=""></div>
        </div>
        <!-- 如果需要分页器 -->
        <div class="swiper-pagination"></div>

        <!-- 如果需要导航按钮 -->
        <!-- <div class="swiper-button-prev"></div> -->
        <!-- <div class="swiper-button-next"></div> -->

        <!-- 如果需要滚动条 -->
        <!-- <div class="swiper-scrollbar"></div> -->
    </div>
    <script src="../../../swiper/swiper6/swiper-bundle.min.js"></script>
    <script>
         var mySwiper = new Swiper('#swiper-container-one', {
            direction: 'horizontal', // 垂直切换选项vertical ,横向轮播horizontal
            loop: true, // 循环模式选项
            // 加入速度  
            speed: 150,

            // 自动轮播
            autoplay: {
                delay: 1500
            },


            // 加入代码      
            // 如果需要分页器
            pagination: {
                el: '.swiper-pagination',
            },

            // 如果需要前进后退按钮
            navigation: {
                nextEl: '.swiper-button-next',
                prevEl: '.swiper-button-prev',
            },

            // 如果需要滚动条
            scrollbar: {
                el: '.swiper-scrollbar',
            },
        })
    </script>
</body>
</html>